home *** CD-ROM | disk | FTP | other *** search
- /*
- About TXTMENU
-
- This program is to generate a txt-menu in DOS. It is mainly for users to
- develop their own txt-based menu. It reads the .cfg file to get the menu
- contents and return diffrerent value to indicate the select result.
- It has wonderful sound effect and some time counting facility. Besides,
- it includes all SOURCE CODE !
-
- To start it just type the exe file and the program will work.
-
- With SOURCE CODE , you can easily modify it for your own purpose.
- You can distribute the source code freely only together with this readme
- file. Since this is a shareware, you are required to register in order
- to use it in your own program. It will only cost you $50.
-
- However, if you do not like to pay so much, you can also pay as much as you
- wish to register. Just think the time and energe you will save by this
- program !
-
- After you register for this program, you will get permission to
- include the source code to your own program. Besides,you will also
- get more detailed comments of the source code and you can get answers
- from author about any programming problems without extra fee.
-
- Money and Check should mail to:
-
- Mr. Yongyong Xu,
- 1940 Howard Street. Apt. 333,
- Kalamazoo, MI 49008
- U.S.A.
-
- Telephone: (616) 387-7569
- EMail: yxu@cs.wmich.edu (prefered)
- or
- 99xu1@grog.lab.cc.wmich.edu
-
- */
- #ifndef __TXTFUNC_H
- #define __TXTFUNC_H
-
-
- #define ESC 27
- #define ENTER 13
- #define BACKSPACE 8
-
- void zxexit();
- void rect(int x1,int y1,int x2,int y2,int mode);
- void face();
- void inputstring(int x,int y,char * instr);
- void datainput(int x,int y,char *s,char *s1);
-
-
- #ifdef __YYXMAIN
-
- char title0[80];
- char title1[80];
- int color1=LIGHTBLUE, color2=BLUE;
-
- #else
-
- extern char title0[80];
- extern char title1[80];
- extern int color1, color2;
-
- #endif
-
- #endif
-